/**
 * 
 */
package org.stars.dao.exception.parser;

import org.stars.dao.exception.DaoException;

/**
 * 
 * @author Francesco Benincasa (908099)
 *
 */
public class SyntaxErrorException extends DaoException {

	public SyntaxErrorException(String msg, Exception e) {
		super(msg);			
		
		if (e!=null)
		{
			rootCause=e;
		} else {
			rootCause=new Exception(msg);		
		}
	}
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3605358482143470292L;

	
	public SyntaxErrorException(Exception e) {
		super(e);		
	}
}
